var chart3 = echarts.init(document.getElementById('chart3'), chartTheme);

var option3 = {
	color: ['#49fadf', '#28b4bd', '#0b8e96', '#c23531','#2f4554', '#61a0a8', '#d48265', '#91c7ae','#749f83',  '#ca8622', '#bda29a','#6e7074', '#546570', '#c4ccd3'],
    backgroundColor: '#08121c',
    title : {
        text: '2016全国男女比例最新数据',
        subtext: '总计:138271(万人)',
        x:'center',
        textStyle: { color: '#fff', fontSize: 26 }
    },
    tooltip : {
        trigger: 'item',
        formatter: "{b} : {c} ({d}%)"
    },
    legend: {
        orient : 'vertical',
        x : 'left',
        data:['男性70815万人','女性67456万人'],
        textStyle: {
            color: '#fff'
        }
    },
    toolbox: {
        show : true,
        feature : {
            mark : {show: true},
            magicType : {
                show: true,
                type: ['pie', 'funnel'],
                option: {
                    funnel: {
                        x: '25%',
                        width: '50%',
                        funnelAlign: 'left',
                        max: 1548
                    }
                }
            }
        }
    },
    calculable : true,
    series : [
        {
            name:'访问来源',
            type:'pie',
            roseType: true,
            radius : '55%',
            center: ['50%', '60%'],
            data:[
                {value:70815, name:'男性70815万人'},
                {value:67456, name:'女性67456万人'},
            ]
        }
    ]
};

chart3.setOption(option3);